/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "生产领料",TableName = "MaterialRequisition")]
    public partial class MaterialRequisition:BaseEntity
    {
        /// <summary>
       ///主键id
       /// </summary>
       [Key]
       [Display(Name ="主键id")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int Id { get; set; }

       /// <summary>
       ///领料单编号
       /// </summary>
       [Display(Name ="领料单编号")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string MaterialReceiptCode { get; set; }

       /// <summary>
       ///领料单名称
       /// </summary>
       [Display(Name ="领料单名称")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string MaterialReceiptName { get; set; }

       /// <summary>
       ///需求时间
       /// </summary>
       [Display(Name ="需求时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? DemandTime { get; set; }

       /// <summary>
       ///生产工单
       /// </summary>
       [Display(Name ="生产工单")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string WorkOrder { get; set; }

       /// <summary>
       ///工作站
       /// </summary>
       [Display(Name ="工作站")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string Workstation { get; set; }

       /// <summary>
       ///工作站名称
       /// </summary>
       [Display(Name ="工作站名称")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string WorkstationName { get; set; }

       /// <summary>
       ///客户编号
       /// </summary>
       [Display(Name ="客户编号")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string ClientCode { get; set; }

       /// <summary>
       ///客户名称
       /// </summary>
       [Display(Name ="客户名称")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       [Editable(true)]
       public string ClientName { get; set; }

       /// <summary>
       ///备注
       /// </summary>
       [Display(Name ="备注")]
       [MaxLength(300)]
       [Column(TypeName="nvarchar(300)")]
       [Editable(true)]
       public string Descs { get; set; }

       
    }
}